package ooday04.homework;

public class GetterSetterDemo {
    public static void main(String[] args) {
        Point p = new Point();
        p.setX(12);
        p.setY(15);

        System.out.println("x="+p.getX()+",y="+p.getY());
    }

}
